from rest_framework.routers import SimpleRouter
from .views import MaterialViewSet, StockRecordViewSet

router = SimpleRouter()
router.register("api/material", MaterialViewSet)
router.register("api/stock-record", StockRecordViewSet)

urlpatterns = []
urlpatterns += router.urls 